home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 11437 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  762 b 

  1. Path: ix.netcom.com!news
  2. From: ishky@ix.netcom.com(Andrew Heiz )
  3. Newsgroups: comp.lang.c
  4. Subject: Pointers to structures question.
  5. Date: 24 Mar 1996 03:00:12 GMT
  6. Organization: Netcom
  7. Message-ID: <4j2drs$q3r@dfw-ixnews3.ix.netcom.com>
  8. NNTP-Posting-Host: ix-li7-03.ix.netcom.com
  9. X-NETCOM-Date: Sat Mar 23  9:00:12 PM CST 1996
  10.  
  11. Hi there,
  12.  
  13. Thanks for reading.
  14.  
  15. I have a simple question about using pointers to structures. I am
  16. imputing data into a structure using:
  17.  
  18.         gets(struct.element);
  19.  
  20. My question is in how to reference the structure element with a
  21. pointer. How do I do this?
  22.  
  23. Any help you could give me would be appreciated as my textbooks don't
  24. explain this clearly. Please post or e-mail your response.
  25.  
  26.  
  27. Thanks
  28. Andrew Heiz
  29. e-mail ishky@ix.netcom.com
  30.